<!DOCTYPE html>
<html>
	<head>
		<meta charset="utf-8">
		<title>6-外边距</title>
		<style type="text/css">
			*{
				padding:0;
				margin:0;
			}
			.box{
				width:100px;
				height:100px;
				border:1px solid red;
				/*向下边距*/
				margin-bottom: 20px;
				/* 距离浏览器左侧 */
				margin-left:30px;
				/* 距离顶部 */
				margin-top:20px;
				margin-right: 10px;
				/*上右下左*/
				margin:30px 0px 100px 50px;
			}
			.container{
				width:200px;
				height:100px;
				border:1px solid blue;
			}
		</style>
	</head>
	<body>
		<div class="box"></div>
		<div class="container"></div>
		
	</body>
</html>
